<?php $this->load->view('common/head');?>
<div class="panel panel-default">
  <!-- Default panel contents -->
  <div class="panel-heading">地方车展基本信息</div>

  <!-- Table -->
  <table class="table table-condensed">
    <tbody>
      <tr>
        <td class="bg-primary col-md-2">车展名称：</td>
        <td><?php echo $projectData['name'] ?></td>
      </tr>
      <tr>
        <td class="bg-primary col-md-2">车展等级：</td>
        <td><?php echo $projectData['levelStr'] ?></td>
      </tr>
      <tr>
        <td class="bg-primary col-md-2">活动时间段：</td>
        <td><?php echo $projectData['startTime'].'至'.$projectData['endTime']; ?></td>
      </tr>
      <tr>
        <td class="bg-primary col-md-2">展馆地址：</td>
        <td><?php echo $projectData['address'] ?></td>
      </tr>
    </tbody>
  </table>
</div>
<form class="form-inline" action="<?php echo $this->input->server('REQUEST_URI'); ?>" name="audit" id="audit">
<input type="hidden" name="projectId" id="projectId" value="<?=$projectId?>">
<?php $this->load->view('CarGx/settleList', $this->viewData); ?>
<?php $this->load->view('CarRent/settleList', $this->viewData); ?>
<?php $this->load->view('CarMatching/settleList', $this->viewData); ?>
<div class="text-center">
  <?php if($this->user['userRole'] >= $projectData['budgetAuditRole']){ ?>
  <button type="button" class="btn btn-default btn-danger" role="button" onclick="ajaxFormSubmit('audit')">提交审核</button>
  <?php } ?>
  <button class="btn btn-default btn-primary" role="button" onclick="closeWindow()">关闭</button>
</div>
</form>
<?php $this->load->view('common/foot');?>